\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor}{
\section{Zebulon::Underwater::VisualSensor Class Reference}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor}\index{Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}}
}


JAUS targeting visual sensor component interface.  


{\ttfamily \#include $<$visualsensor.h$>$}\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_a87fbc6404671c12c333950cd59038a52}{
\hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_a87fbc6404671c12c333950cd59038a52}{VisualSensor} ()}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_a87fbc6404671c12c333950cd59038a52}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_a9b54a75e45007658e2149c17d646aced}{
\hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_a9b54a75e45007658e2149c17d646aced}{$\sim$VisualSensor} ()}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_a9b54a75e45007658e2149c17d646aced}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_a99673a147cdfc3fedec22f15bb2128e4}{SetupService} ()
\begin{DoxyCompactList}\small\item\em Sets up support for the visual sensor service, specifically adding support for camera pan and tilt. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_ac1a0e9b408ea430043f7282c3a792cfc}{ProcessCommandMessage} (const Jaus::Message $\ast$message, const Jaus::Byte authority)
\begin{DoxyCompactList}\small\item\em No Support. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_a908670e870cad67c2fca9621952214ea}{Standby} ()
\begin{DoxyCompactList}\small\item\em Method called when Standby is received. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_a4985226cac27ca630bd1c9db044386ed}{
void \hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_a4985226cac27ca630bd1c9db044386ed}{PrintStatus} () const }
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_a4985226cac27ca630bd1c9db044386ed}

\begin{DoxyCompactList}\small\item\em Prints status of targeting visual sensor. \item\end{DoxyCompactList}\item 
bool \hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_adfce2a1d1c313e1173c4de71238c691d}{StartCameraCapture} (const std::string \&cameraName)
\begin{DoxyCompactList}\small\item\em Creates thread for camera capture. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_a1c7af66bd33c77771d26406009fc537b}{
void \hyperlink{class_zebulon_1_1_underwater_1_1_visual_sensor_a1c7af66bd33c77771d26406009fc537b}{StopCameraCapture} ()}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_a1c7af66bd33c77771d26406009fc537b}

\begin{DoxyCompactList}\small\item\em Stops camera capture. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_a18f13332debc1a5a9e1fd9c9d6cb4140}{
int {\bfseries GetFrameCount} ()}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_a18f13332debc1a5a9e1fd9c9d6cb4140}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
JAUS targeting visual sensor component interface. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_ac1a0e9b408ea430043f7282c3a792cfc}{
\index{Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}!ProcessCommandMessage@{ProcessCommandMessage}}
\index{ProcessCommandMessage@{ProcessCommandMessage}!Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}}
\subsubsection[{ProcessCommandMessage}]{\setlength{\rightskip}{0pt plus 5cm}int VisualSensor::ProcessCommandMessage (const Jaus::Message $\ast$ {\em message}, \/  const Jaus::Byte {\em authority})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_ac1a0e9b408ea430043f7282c3a792cfc}


No Support. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em message}]A command message to process\end{DoxyParams}
\begin{DoxyReturn}{Returns}
JAUS\_\-OK on success, JAUS\_\-FAILURE on failure 
\end{DoxyReturn}
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_a99673a147cdfc3fedec22f15bb2128e4}{
\index{Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}!SetupService@{SetupService}}
\index{SetupService@{SetupService}!Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}}
\subsubsection[{SetupService}]{\setlength{\rightskip}{0pt plus 5cm}int VisualSensor::SetupService ()\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_a99673a147cdfc3fedec22f15bb2128e4}


Sets up support for the visual sensor service, specifically adding support for camera pan and tilt. \begin{DoxyReturn}{Returns}
JAUS\_\-OK on success, JAUS\_\-FAILURE on failure 
\end{DoxyReturn}
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_a908670e870cad67c2fca9621952214ea}{
\index{Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}!Standby@{Standby}}
\index{Standby@{Standby}!Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}}
\subsubsection[{Standby}]{\setlength{\rightskip}{0pt plus 5cm}int VisualSensor::Standby ()\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_a908670e870cad67c2fca9621952214ea}


Method called when Standby is received. \begin{DoxyReturn}{Returns}
JAUS\_\-OK on success, JAUS\_\-FAILURE on failure 
\end{DoxyReturn}
\hypertarget{class_zebulon_1_1_underwater_1_1_visual_sensor_adfce2a1d1c313e1173c4de71238c691d}{
\index{Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}!StartCameraCapture@{StartCameraCapture}}
\index{StartCameraCapture@{StartCameraCapture}!Zebulon::Underwater::VisualSensor@{Zebulon::Underwater::VisualSensor}}
\subsubsection[{StartCameraCapture}]{\setlength{\rightskip}{0pt plus 5cm}bool VisualSensor::StartCameraCapture (const std::string \& {\em cameraName})}}
\label{class_zebulon_1_1_underwater_1_1_visual_sensor_adfce2a1d1c313e1173c4de71238c691d}


Creates thread for camera capture. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em cameraName}]Camera source (/dev/video0, etc).\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True on success, false on failure. 
\end{DoxyReturn}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/include/underwater/\hyperlink{visualsensor_8h}{visualsensor.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/src/underwater/\hyperlink{visualsensor_8cpp}{visualsensor.cpp}\end{DoxyCompactItemize}
